<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ include file="/WEB-INF/decorators/taglibs.jsp"%>
<div id="left_1">
<div id="menua_2">
<c:if test="${cssPath eq 'css' }">
<div class="h1a" id="ftc_t">會期資料</div>
<ul id="ftc_m"> 
<sec:authorize ifAnyGranted="admin,formUser">
	<li><a href="${appPath}/session.htm">會期資料維護</a></li>
	<li><a href="${appPath}/motion.htm">區間清單</a></li>
</sec:authorize>
</ul>
<div class="h1a" id="data_t">資料維護</div>
<ul id="data_m">	
<sec:authorize ifAnyGranted="admin,formUser">
	<li><a href="${appPath}/committee.htm">委員名單</a></li>
	<li><a href="${appPath}/codeUnit.htm">單位代號</a></li>
	<li><a href="${appPath}/inCharge.htm">承辦資料</a></li>
	<li><a href="${appPath}/codeType.htm">案別設定</a></li>
	<li><a href="${appPath}/codeCause.htm">常用案由</a></li>
	<li><a href="${appPath}/codeResolution.htm">常用決議</a></li>
</sec:authorize>
</ul>
</c:if>
<c:if test="${cssPath eq 'css2' }">
<div class="h1a" id="ftc_t">會期資料</div>
<ul id="ftc_m">
<sec:authorize ifAnyGranted="admin,subAdmin,imgUser">
	<li><a href="${appPath}/sessionBrowse.htm">會期瀏覽</a></li>
	<li><a href="${appPath}/sessionView.htm">會期查詢</a></li>
</sec:authorize>
<sec:authorize ifAnyGranted="admin">
	<li><a href="${appPath}/openTime.htm">開放時間設定</a></li>
</sec:authorize>
</ul>
</c:if>
<div class="h1a" id="system_t">系統</div>
	<ul id="system_m">
	<sec:authorize ifAnyGranted="admin">
		<li><a href="${appPath}/users.htm">用戶管理</a></li>
		<li><a href="${appPath}/roleAuth.htm">系統權限</a></li>
		<li><a href="${appPath}/ftcLog.htm">系統日誌</a></li>
	</sec:authorize>
	</ul>
<div class="h1a">個人資料</div>
	<ul>
		<%-- <li><a href="${appPath}/personal/password.htm">密碼修改</a></li> --%>
		<li><a href="${appPath}/logout.htm">登出</a></li>
	</ul>	
</div>
</div>
<!-- div left_1 end -->
<script>
$().ready(function() {
	if( $("#ftc_m").children("li").length == 0  ) $("#ftc_t").remove();
	if( $("#data_m").children("li").length == 0  ) $("#data_t").remove();
	if( $("#system_m").children("li").length == 0) $("#system_t").remove();
});	
</script> 